This page last changed on Mar 22, 2011 by bobh.

IP Addressing for FOCE on MARS

FOCE has been assigned to MARS Science Port 2 (2008 deployment was on Science Port 1).  Therefore,

  • we can use IP addresses 10.1.12.6 through 10.1.12.254.  As you can see below, we actually use 10.1.12.6 through 10.1.12.9
  • our gateway is 10.1.12.1
  • our netmask is 255.255.255.0
  • our DNS server is the same as everybody's: 10.91.128.61

We have arranged for the first four addresses to get mapped through the MARS router into public (134.89) addresses.  The four resulting public IP addresses are
134.89.42.126 is the public address for 10.1.12.6
134.89.42.127 is the public address for 10.1.12.7
134.89.42.128 is the public address for 10.1.12.8
134.89.42.129 is the public address for 10.1.12.9

For each private to public mapping, all TCP/UDP ports are mapped through, 1:1.  In the following section, I identify which ports are needed to be mapped through.  This information is useful for setting up a router in the lab.  But again, for MARS, all ports are actually mapped through.

Configuration and IP Addressing for equipment in the FOCE can

FOCE PC/104 Stack
  • Private IP address on MARS:  10.1.12.6
  • Public address:  134.89.42.126
  • Netmask: 255.255.255.0
  • Gateway: 10.1.12.1
  • DNS name: foce.mars.mbari.org
  • Ports needed: all
Digi PortServer TS4
  • Private MARS IP address:  10.1.12.7
  • Public address: 134.89.42.127
  • Gateway: 10.1.12.1
  • DNS Name: focets4.mars.mbari.org
  • MAC address:  00:40:9D:34:86:72
  • To access web page for configuration, user: root,  password: rootme
  • Ports needed: 80, 771, 2001, 2101, 1027
Digi AnywhereUSB
  • Private MARS IP address:  10.1.12.8
  • Public address: 134.89.42.128
  • Netmask: 255.255.255.0
  • Gateway: 10.1.12.1
  • DNS Name: foceusb.mars.mbari.org
  • MAC address: 0020BE:7F4209
  • Ports needed: 80, 3422
Axis Video Server
  • Private MARS IP Address: 10.1.12.9
  • Public address: 134.89.42.129
  • DNS Name: foceaxis.mars.mbari.org
  • To access web page
    • View only access -- Username: guest, password: revelle
    • Full Access -- Username: root, password: rootme
  • Ports needed: 80, 3422
  • Serial number: 0040C8813D5
Digi TS4 for CO2 Subsystem
  • Private MARS IP Address: 10.1.12.10
  • Public address:  None yet
  • DNS Name: None yet
  • Root name/password = root/dbps (to be changed to root/rootme)
  • Ports needed: None yet

Using the FOCE can in the lab or test tank

Since the instruments in the FOCE can are now set up for private IP addressing, you can no longer simply plug the FOCE can into the MARS simulator, and the simulator ethernet into an ethernet jack, and have it work.  Something has to convert those 10.1.12 addresses into 134.89 addresses.  I've set up a Netgear router in the software lab for this purpose.  You must attach the MARS simulator can's ethernet into one of the four LAN ports of the router (righthand 4 ports in picture below), and connect an ethernet cable from the building network to the "Broadband modem" connection shown below.


This works either in the lab or test tank; anywhere in building B, for that matter.  But it must be in building B, as the WAN side of the router was set up with a static 134.89.12.162 address. See Setting up Netgear Router for how I configured this router.

Netgear Router
  • WAN IP address: 134.89.12.162 (note 1)
  • LAN IP address: 10.1.12.1
  • To access, browse to http://134.89.12.162:8080
  • Username: admin
  • Password: rootme
  • Administration port: 8080
  • DMZ (default port pass-thru): 10.1.12.6
  • Other ports forwarded:
    • port 80 to 10.1.12.9, Axis Video
    • ports 771, 2000-2104, 1027 to 10.1.12.7, Digi Terminal Server
    • port 3422 to 10.1.12.8, Digi AnywhereUSB

Essentially, I set up this router to appear something like the MARS router.  But being a consumer-class router, it can only map one private address to one public address.  The "DMZ" setting maps the PC/104 stack to 134.89.12.162.  It also uses port forwarding to make the Digi PortServer and Axis Video Server usable.  But it's not a perfect mapping.  See Setting up Netgear Router.

Note 1 - We've now received three static IP addresses from IS to use for FOCE testing.  They are:
134.89.12.162 = focetest1.shore.mbari.org
134.89.12.163 = focetest2.shore.mbari.org
134.89.62.126 = focetest3.shore.mbari.org

I've set up the router and laptop accordingly (11/05/2008, rah)


Brilliant note Bob! Even a network challenged person such as myself could follow this.

Posted by ckecy at Feb 05, 2009 11:14
Document generated by Confluence on Feb 03, 2026 14:29